package com.example.charges.dati.domain;

import java.io.Serializable;

import com.molinari.androidstructure.data.db.IOggettoEntita;

/**
 * The persistent class for the RISPARMIO database table.
 * 
 */
public class Risparmio implements Serializable, IRisparmio, IOggettoEntita {
	private static final long serialVersionUID = 1L;

	public static final String NOME_TABELLA = "risparmio";
	public static final String ID = "idRisparmio";
	public static final String PERCSULTOT = "PercSulTotale";

	private int idRisparmio;

	private double PerSulTotale;

	public Risparmio() {
	}

	@Override
	public int getidRisparmio() {
		return this.idRisparmio;
	}

	@Override
	public void setidRisparmio(final int idRisparmio) {
		this.idRisparmio = idRisparmio;
	}

	@Override
	public double getPerSulTotale() {
		return this.PerSulTotale;
	}

	@Override
	public void setPerSulTotale(final double PerSulTotale) {
		this.PerSulTotale = PerSulTotale;
	}

	@Override
	public String getNomeEntita() {
		return null;
	}

	@Override
	public String getIdEntita() {
		return Integer.toString(getidRisparmio());
	}

	@Override
	public IOggettoEntita getEntita() {
		return this;
	}

}